public class LeilaoFactory {
	public static ILeilao getInstance() throws ClassNotFoundException,
			InstantiationException, IllegalAccessException {

		PropertiesLoader loader = new PropertiesLoader();
		String propriedade = loader.getValor("leilaoComum");
		ClassLoader classLoader = Main.class.getClassLoader();
		Class aClass = classLoader.loadClass(propriedade);
		return (ILeilao) aClass.newInstance();

	}
}
